/*
 * @(#)MockConditionBO.java $version 2010. 8. 11
 *
 * Copyright 2007-2010 NHN Corp. All rights Reserved. 
 * NHN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
 */
package com.nhncorp.usf.core.service.mock;

import java.util.HashMap;
import java.util.Map;

/**
 * @author Web Platform Development Team
 */
public class MockConditionBO {
	@SuppressWarnings("unchecked")
	public Map getPageNum(int pagenum) {
		Map result = new HashMap();
		result.put("totalPageNum", 150);
		return result;
	}
	
	@SuppressWarnings("unchecked")
	public Map getBook(Map bookInfo) {
		Map bookMap = new HashMap(); 
		if (bookInfo.get("project").equals("SPS")) {
			bookMap.put("name", "prefactoring"); 
		}
		return bookMap;
	}
}
